package io.seata.sharding4.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.seata.sharding4.common.dto.OrderDTO;
import io.seata.sharding4.common.response.ObjectResponse;
import io.seata.sharding4.order.entity.Order;

/**
 * 创建订单
 *
 * @author Administrator
 */
public interface IOrderService extends IService<Order> {
    /**
     * 创建订单
     *
     * @param orderDTO
     * @return ObjectResponse<OrderDTO>
     */
    ObjectResponse<OrderDTO> createOrder(OrderDTO orderDTO);
}
